#pragma once
EXTERN_C
PVOID __fastcall RtlImageNtHeader(CHAR* image);
EXTERN_C
PVOID __fastcall RtlFindExportedRoutineByName(CHAR* image, char* funcName);

EXTERN_C ULONG64 ExportTableFuncByName(char* pData, char* funcName);

EXTERN_C
ULONG_PTR ExportProcAddressByModuleBase(ULONG_PTR hModule, const char* lpProcName, BOOLEAN x64Module);

EXTERN_C
BOOLEAN UpdateImportTable(char* imageBuffer);

EXTERN_C
BOOLEAN UpdataReloc(char* imageBuffer);

EXTERN_C
BOOLEAN UpdateCookie(char* imageBuffer);

//EXTERN_C
//BOOLEAN LoadDriver(PUCHAR fileBuffer);